from Dialog.BaseDialog import SysBaseDialog


class TunnelTask1BeginDialog(SysBaseDialog):
    def __init__(self, font):
        text_list = []
        text_list.append("我:大家好,我是新来的战士;" +
                         "是抗战小白,;" +
                         "我会在在战斗中成长的,;"
                         )

        text_list.append("红军:小战士,你准备好了吗？;" +
                         "你现在要去找到你的队长;" +
                         "他会告诉你第一个任务！")

        text_list.append("我:我已经准备好了！")
        super(TunnelTask1BeginDialog, self).__init__(text_list, font)


class TunnelTask1EndDialog(SysBaseDialog):
    def __init__(self, font):
        text_list = []
        text_list.append("红军:恭喜你,小战士,;" +
                         "你已经通过了第一项任务的考核,;" +
                         "组织会看好你的！")

        super(TunnelTask1EndDialog, self).__init__(text_list, font)


class TunnelTask2BeginDialog(SysBaseDialog):
    def __init__(self, font):
        text_list = []
        text_list.append("红军:小同志，组织上又有新任务了！;" +
                         "请你立刻找队长报道！")

        text_list.append("我:我已经迫不及待了,;" +
                         "保证完成组织交代的任务。")
        super(TunnelTask2BeginDialog, self).__init__(text_list, font)


class TunnelTask2MidEndDialog(SysBaseDialog):
    def __init__(self, font):
        text_list = []
        text_list.append("红军:小同志," +
                         "我们的部队还有一会就会发起总攻;" +
                         "请抓紧时间。")
        super(TunnelTask2MidEndDialog, self).__init__(text_list, font)


class TunnelTask2MidBeginDialog(SysBaseDialog):
    def __init__(self, font):
        text_list = []
        text_list.append("红军:一定要记住;" +
                         "不要被发现了！！！")
        super(TunnelTask2MidBeginDialog, self).__init__(text_list, font)


class TunnelTask2EndDialog(SysBaseDialog):
    def __init__(self, font):
        text_list = []
        text_list.append("红军:恭喜你,小同志," +
                         "你非常勇敢;" +
                         "帮部队攻下了日军的仓库;" +
                         "请继续加油。")
        super(TunnelTask2EndDialog, self).__init__(text_list, font)


class TunnelTask3BeginDialog(SysBaseDialog):
    def __init__(self, font):
        text_list = []
        text_list.append("红军:我,你已经是个合格的小战士,;" +
                         "你需要找到一名叫队长的同志,;" +
                         "得到日军消息,并带给一个叫副队长的同志。")

        text_list.append("红军:接头暗号是,;" +
                         "他说:土豆哪里去挖,;" +
                         "你答:一挖一麻袋。;")

        text_list.append("我:保证完成任务,;" +
                         "保障完成组织交代的任务;")
        super(TunnelTask3BeginDialog, self).__init__(text_list, font)


class TunnelTask3EndDialog(SysBaseDialog):
    def __init__(self, font):
        text_list = []
        text_list.append("红军:我,你已经是个成熟的小战士,;" +
                         "组织是信任你的,加油！！！;" +
                         "我们会迎来最终的胜利的！ ")
        super(TunnelTask3EndDialog, self).__init__(text_list, font)


class TunnelTaskFailDialog(SysBaseDialog):
    def __init__(self, font):
        text_list = []
        text_list.append("红军:小同志,任务失败;")

        text_list.append("组织位置暴露了;" +
                         "你没能通过组织的考验!")

        text_list.append("请继续努力！！!")

        super(TunnelTaskFailDialog, self).__init__(text_list, font)


class TunnelTaskFailFoundDialog(SysBaseDialog):
    def __init__(self, font):
        text_list = []
        text_list.append("红军:小同志,任务失败;")

        text_list.append("日军发现了你;" +
                         "你没能通过组织的考验!")

        text_list.append("请继续努力！！!")

        super(TunnelTaskFailFoundDialog, self).__init__(text_list, font)
